package com.litblue.starter.core;

import lombok.Data;

@Data
public class AjaxResult<T> {

    private T data;

    private String msg;

    private String code;
    public AjaxResult(String msg,String code) {
        this.code =code;
        this.msg = msg;
    }

    public AjaxResult(String msg,String code,T data) {
        this.code =code;
        this.msg = msg;
        this.data = data;
    }
}